package com.rnkrsoft.suyan.config.server.config.entity;

import com.rnkrsoft.framework.orm.PrimaryKey;
import com.rnkrsoft.framework.orm.PrimaryKeyStrategy;
import com.rnkrsoft.framework.orm.jdbc.*;
import lombok.*;
/**
 * Created by woate on 2019/6/24.
 */
@Data
@ToString(callSuper = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "PROJECT_DEPENDENCY", prefix = "TB")
@Comment("项目继承信息表")
public class ProjectDependencyEntity extends BaseEntity{
    @PrimaryKey(strategy = PrimaryKeyStrategy.IDENTITY)
    @NumberColumn(name = "DEPENDENCY_ID", nullable = false)
    @Comment("依赖编号")
    Integer dependencyId;

    @StringColumn(name = "PROJECT_ID", nullable = false)
    @Comment("项目编号")
    String projectId;

    @StringColumn(name = "PARENT_PROJECT_ID", nullable = false)
    @Comment("父项目编号")
    String parentProjectId;
}
